﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Transactions;


namespace ibba.agil.core
{
   public  class TransactionManager : IDisposable
    {
       internal SqlConnection Connection { get; set; }
       
       public TransactionManager(string name)
       {
           Connection = Internal.ConnectionManager.getContextDB();
           Connection.Open();
       }

       public void Dispose()
       {
           Connection.Close();
       }
    }
}
